package cn.kgc.spring05.entiy;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/2/21
 * @Description:
 */
public class TeacherB implements  Teacher{

    @Override
    public String teachOnLine(String course) {
        System.out.println("TeacherB 开始"+course+"课程线上教学");
        return course+"课程线上教学";
    }

    @Override
    public String teachOffline(Integer courseId) {

        System.out.println(" TeacherB开始"+courseId+"课程线下教学");
        return courseId+"课程线线下教学";
    }
}
